//调用接口配置文件
import { request } from 'config/request'
//获取商品列表
export async function getList (params) {
  return request({
    url: 'admin/org/queryOrgByName',
    method: 'POST',
    headers: {
      'Content-type': 'application/json'
    },
    data: params
  })
}


//查询统计信息
export async function queryRecommendAndDealNum (params) {
  return request({
    url: `admin/org/queryRecommendAndDealNum`,
    method: 'GET',
    data: params
  })
}
//导出
export async function exportList (params) {
  return request({
    url: `admin/org/exportOrgList`,
    method: 'POST',
    data: params
  })
}
//导出
export async function getListBy (params) {
  return request({
    url: `admin/org/team/list-by/${params}`,
    method: 'GET',
  })
}
